extends Area2D

@export var vec:Vector2 = Vector2(8,0)
@export var init_position:Vector2

func _ready() -> void:
	init_position = position
	add_to_group("ball")


func _process(delta: float) -> void:
	position = position+vec
	#if position.x > 500:
		#reset()

func reset():
	position = init_position
